home *** CD-ROM | disk | FTP | other *** search
- Path: john-ha.cs.auckland.ac.nz!user
- From: J.Hamer@cs.auckland.ac.nz (John Hamer)
- Newsgroups: comp.lang.c++
- Subject: STL destroy() and warnings
- Date: Wed, 27 Mar 1996 09:16:16 +1300
- Organization: University of Auckland
- Message-ID: <J.Hamer-2703960916160001@john-ha.cs.auckland.ac.nz>
- NNTP-Posting-Host: john-ha.cs.auckland.ac.nz
- X-Newsreader: Value-Added NewsWatcher 2.0b24.0+
-
- These questions relate to the October 31, 1995 release of the
- Hewlett-Packard implementation of STL, running under Borland C++ 4.5.
-
- 1. This STL implementation does not appear to be able to cope directly
- with a container of pointers. The template for destroy() in defalloc.h
- attempts to call pointer->~T() where T is a pointer to a pointer type, and
- a compiler error results. What are the recommended work-arounds?
-
- 2. I get a large number of compiler warnings about ``Conversion will lose
- significant digits'' when compiling with the large memory model. This
- looks to be more of a nuisance than a problem; are there any patches
- available to make the compiler shut up?
-
- -- John Hamer Email: J.Hamer@cs.auckland.ac.nz
- -- Dept. Computer Science Phone: +64 9 3737 599 x8758
- -- University of Auckland Fax: +64 9 3737 453
- -- Private Bag 92019, Auckland, New Zealand.
-